<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Read a message</title>
 </head>
 <body class="docs"><div id="layout">
  <div id="layout-content"><div id="function.socket-recvmsg" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">socket_recvmsg</h1>
  <p class="verinfo">(PHP 5 &gt;= 5.5.0, PHP 7)</p><p class="refpurpose"><span class="refname">socket_recvmsg</span> &mdash; <span class="dc-title">Read a message</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-function.socket-recvmsg-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>socket_recvmsg</strong></span>
    ( <span class="methodparam"><span class="type">resource</span> <code class="parameter">$socket</code></span>
   , <span class="methodparam"><span class="type">array</span> <code class="parameter reference">&$message</code></span>
   [, <span class="methodparam"><span class="type">int</span> <code class="parameter">$flags</code><span class="initializer"> = 0</span></span>
  ] ) : <span class="type">int</span></div>

  <p class="para rdfs-comment">
  </p>
  <div class="warning"><strong class="warning">Warning</strong><p class="simpara">本函数还未编写文档，仅有参数列表。</p></div>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.socket-recvmsg-parameters">
  <h3 class="title">参数</h3>
  <p class="para">
   <dl>

    
     <dt>
<code class="parameter">socket</code></dt>

     <dd>

      <p class="para">
      </p>
     </dd>

    
    
     <dt>
<code class="parameter">message</code></dt>

     <dd>

      <p class="para">
      </p>
     </dd>

    
    
     <dt>
<code class="parameter">flags</code></dt>

     <dd>

      <p class="para">
      </p>
     </dd>

    
   </dl>

  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.socket-recvmsg-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.socket-recvmsg-seealso">
  <h3 class="title">参见</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"><span class="function"><a href="socket_sendmsg.html" class="function" rel="rdfs-seeAlso">socket_sendmsg()</a> - Send a message</span></li>
    <li class="member"><span class="function"><a href="socket_cmsg_space.html" class="function" rel="rdfs-seeAlso">socket_cmsg_space()</a> - Calculate message buffer size</span></li>
   </ul>
  </p>
 </div>


</div></div></div></body></html>